package com.kob.backend.service.impl.user;

import com.kob.backend.mapper.UserMapper;
import com.kob.backend.service.user.UserDeleteService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserDeleteServiceImpl implements UserDeleteService {
   @Autowired
   private UserMapper userMapper;
    @Override
    public void deleteuser(Integer id) {
        userMapper.deleteById(id);
    }
}
